home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 6.7 KB | 229 lines | [TEXT/MPS ] |
- /*
- File: SysProc.r
-
- Contains: Resources for the system process
-
- Owned by: Nick Pilch
-
- Copyright: © 1996 - 1997 by Apple Computer, Inc., all rights reserved.
-
- Change History (most recent first):
-
- <18> 1/8/97 DH 1401434: Added string resource for missing
- document message.
- <17> 12/18/96 DH 1375780: Added error message for opening
- read only docs with too large doc size.
- <16> 02.10.1996 NP 1391011: hard-coded strings
- <15> 27.09.1996 NP Debug build change only
- <14> 11.09.1996 NP 1386084: new string
- <12> 7/17/96 TJ Removed include ODCWDebugDefine.h and added
- it to the prefix file.
- <11> 16.07.1996 NP 1364800: Bump partition for debug builds.
- <10> 02.07.1996 NP 1364355: Can't build stationery.
- <9> 6/26/96 NP 10002: Launch time speedups.
- <8> 6/23/96 NP 10002: Launch time speedups.
- <7> 6/19/96 NP 10002: Launch time speedups.
- <6> 6/18/96 NP 10002: Launch time speedups.
- <5> 6/14/96 NP 10002: Launch time speedups
- <4> 6/6/96 jpa Include from 68K/PPC .rsrc file as
- appropriate, so CW 68K project can build.
- <3> .06.1996 NP Added BNDL, FREF and odtm resources.
- <2> .06.1996 NP 10002: Launch time fixes, system process.
- <1> .05.1996 NP first checked in
-
- To Do:
- In Progress:
-
- */
-
- #ifndef _SHELLDEF_
- #include "ShellDef.h"
- #endif
-
- #ifndef __TYPES_R__
- #include "Types.r"
- #endif
-
- #ifndef __AEUSERTERMTYPES__
- #include "AEUserTermTypes.r"
- #endif
-
- #define kODSysProcRsrcBase kODShellRsrcBase
-
- include "DocStub.rsrc";
-
- //=============================================================================
- // "Size" resources
- //=============================================================================
-
- //=============================================================================
- // SIZE resource
- //=============================================================================
-
- resource 'SIZE' (-1) {
- reserved,
- acceptSuspendResumeEvents,
- reserved,
- canBackground,
- multiFinderAware,
- onlyBackground,
- dontGetFrontClicks,
- acceptChildDiedEvents,
- is32BitCompatible,
- isHighLevelEventAware,
- localAndRemoteHLEvents,
- isStationeryAware,
- dontUseTextEditServices,
- reserved,
- reserved,
- reserved,
- #if ODDebug
- 250*1024,
- 250*1024
- #else
- 200*1024,
- 200*1024
- #endif
- };
-
- //-----------------------------------------------------------------------------
- // scsz resource for AppleScript
- //-----------------------------------------------------------------------------
-
- resource 'scsz' (0) {
- dontLaunchToGetTerminology,
- dontFindAppBySignature,
- dontAlwaysSendSubject,
- reserved,
- reserved,
- reserved,
- reserved,
- reserved,
- reserved,
- reserved,
- reserved,
- reserved,
- reserved,
- reserved,
- reserved,
- reserved,
- 0,
- 0,
- 0,
- 0,
- 0,
- 0
- };
-
- //=============================================================================
- // String resources
- //=============================================================================
-
- //-----------------------------------------------------------------------------
- // STR
- //-----------------------------------------------------------------------------
-
- // Default string that CFM 68K-built apps look for when CFM 68K is not
- // installed
-
- #if GENERATING68K
- resource 'STR ' (-20029) {
- "OpenDoc requires the CFM-68K Runtime Enabler, which is missing. Try"
- " reinstalling OpenDoc."
- };
- #endif
-
- resource 'STR ' (kODSPStrCannotOpenRODocSizeErrMsg) {
- "This document cannot be opened because it needs more memory than is "
- "available right now, and because it is a read-only document, you "
- "cannot adjust its memory size. Try opening a modifiable copy and "
- "select Decrease Memory."
- };
- include "Shell.rsrc" 'STR ' (kSHLPrefsFileNameResID);
- include "Shell.rsrc" 'STR ' (kSHLPrefsFolderNameResID);
- include "Shell.rsrc" 'STR ' (kSHLLauncherNameResID);
- include "Shell.rsrc" 'STR ' (kSHLOldLauncherNameResID);
-
- //-----------------------------------------------------------------------------
- // STR#
- //-----------------------------------------------------------------------------
-
- resource 'STR#' (kODSysProcStringsID, purgeable) {
- {
- /* [1] */ "Could not open the OpenDoc™ document “^0” because ^1.",
- /* [2] */ "Could not open the OpenDoc™ document “^0” because of an"
- " error ^1.",
- /* [3] */ "Could not open an OpenDoc™ document because of an error ^1.",
- /* [4] */ "This version of OpenDoc (^0) will not work on your system"
- " (^1). You must upgrade to system"
- " "kOD1pt2EarliestCompatibleSysVersStr" or later, or use an"
- " older version of OpenDoc. OpenDoc"
- " 1.1 will work on systems 7.1.2 and later.",
- /* [5] */ "Not enough memory to open an OpenDoc document. Try quitting"
- "applications or closing documents to free more memory.",
- /* [6] */ "An unrecoverable error has occurred while starting OpenDoc."
- "Please restart your system and try again.",
- /* [7] */ "Could not reopen your document because of an unknown error.",
- /* [8] */ "Could not reopen your document because it is missing. It may "
- "be the trash."
- /* [xx] */ /* "Could not open an OpenDoc™ document for unknown reasons,"
- " possibly out of memory. Try quitting other documents or"
- " applications.", */
- }
- };
-
- #if GENERATING68K
- include "OpenDoc™ 68K.rsrc" 'STR#';
- #else
- include "OpenDoc™ PPC.rsrc" 'STR#';
- #endif
-
- //=============================================================================
- // Creator/file type/bundle stuff
- //=============================================================================
-
- include "OpenDocX.res" 'odtm';
- include "OpenDocX.res" 'cfmg';
-
- include "OpenDocX.res" 'BNDL';
- include "OpenDocX.res" 'FREF';
- include "OpenDocX.res" 'icl4';
- include "OpenDocX.res" 'icl8';
- include "OpenDocX.res" 'ICN#';
- include "OpenDocX.res" 'ics#';
- include "OpenDocX.res" 'ics4';
- include "OpenDocX.res" 'ics8';
-
- //=============================================================================
- // Misc
- //=============================================================================
-
- /* This resource is used by OpenDoc Setup to figure out if an app is
- the old launcher or the system process */
- #define COMPATIBLEWITHSYSTEMPROCESS 0
- #if COMPATIBLEWITHSYSTEMPROCESS
- data kODSystemProcessSignature (0)
- {
- ""
- };
- #endif /* COMPATIBLEWITHSYSTEMPROCESS */
-
- // THESE RESOURCES SHOULD BE RIPPED OUT. THE CODE THAT USES THEM IS FROM
- // THE OPENDOC SETUP CONTROL PANEL AND SHOULD BE REWRITTEN.
-
- // For BetterFindFolder code, in BetterFindFolder.cpp
- data 'BFld' (128, "ODPF") {
- $"7072 6566 0D4F 7065 6E44 6F63 2050 7265" /* pref¬OpenDoc Pre */
- $"6673 0000 0000 0000 0000 0000 0000 0000" /* fs.............. */
- $"0000 0000 0100 0000" /* ........ */
- };
-
- // For OpenODPrefsResFile code, in PrefsFile.cpp
- resource 'STR#' (128, "Misc. Strings", purgeable) {
- { /* array StringArray: 1 elements */
- /* [1] */
- "OpenDoc Preferences"
- }
- };
-
-